//
//  AddCodeTableViewCell.m
//  tuanGG
//
//  Created by 微他 on 15/11/6.
//  Copyright (c) 2015年 weita. All rights reserved.
//

#import "AddCodeTableViewCell.h"

@implementation AddCodeTableViewCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(10, 15, 80, 20)];
        [self addSubview:self.nameLabel];
        self.PlaceholderLabel = [[UITextField alloc]initWithFrame:CGRectMake(90, 15, ScreenWidth-CGRectGetWidth(self.nameLabel.frame)-20, 20)];
        self.PlaceholderLabel.textAlignment = NSTextAlignmentRight;
        self.PlaceholderLabel.clearButtonMode = UITextFieldViewModeWhileEditing;
        self.PlaceholderLabel.font = [UIFont systemFontOfSize:15];
        [self addSubview:self.PlaceholderLabel];

    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
